package com.falser.user.dto;

import com.falser.common.enums.PermissionTypeEnum;
import com.falser.user.enums.MenuTargetEnum;
import com.falser.user.enums.VisibleEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class PermissionDTO {
    @ApiModelProperty("id")
    private Long id;
    @ApiModelProperty("权限名")
    private String permissionName;
    @ApiModelProperty("父权限id")
    private Long parentId;
    @ApiModelProperty("菜单类型")
    private PermissionTypeEnum permissionType;
    @ApiModelProperty("菜单图标")
    private String icon;
    @ApiModelProperty("显示")
    private VisibleEnum visible;
    @ApiModelProperty("打开方式（menuItem页签 menuBlank新窗口）")
    private MenuTargetEnum target;
    @ApiModelProperty("方法")
    private String method;
}
